package com.xiaomili.halfsugar.bean;

import java.util.List;

/**
 * Created by WangQi on 2016/7/15.
 */
public class HomeBean {

    public DataBean data;

    public class DataBean {

        public List<BannerBean> banner;
        public List<CategoryElementBean> category_element;
        public List<InsertElementBean> insert_element;
        public List<TopicBean> topic;

        public class BannerBean {
            public String photo;
        }

        public class CategoryElementBean {
            public String title;
        }

        public class InsertElementBean {

            public List<ElementListBean> element_list;
            public int index;
            public class ElementListBean {
                public List<InsertDataBean> data;
                public int index;

                public class InsertDataBean {
                    public String photo;
                    public String type;
                }
            }
        }

        public class TopicBean {
            public String id;
            public String comments;
            public boolean is_show_like;
            public boolean islike;
            public String likes;
            public String pic;
            public String title;
            public String type;
            public String type_id;
            public UserBean user;
            public String views;

        }

        public class UserBean {
            public String nickname;
        }
    }
}
